package com.example.demo;

import com.example.demo.bean.Person;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.concurrent.TimeUnit;

@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) throws InterruptedException {
         SpringApplication.run(DemoApplication.class, args);
        int i =3;
        while (i>0){
            TimeUnit.SECONDS.sleep(5);
            Person person = new Person();
            int test = person.test(112, 234);
            System.out.println(test);
            i--;
        }
    }

}
